Skip to content

Instantly share code, notes, and snippets.

@aenertia
aenertia / RK3566.md
Last active November 2, 2026 20:05
RK3566 Power Profiling: DMC Devfreq, Power Management, and Undervolt on ROCKNIX Handheld Device

RK3566 Power Profiling: DMC Devfreq, Power Management, and Undervolt on ROCKNIX Handheld Devices

Author: Joel Wiramu Pauling Date: 2026-03-04 to 2026-03-06 Devices: Powkiddy RGB30 (1GB), Anbernic RG353P (2GB) Distribution: ROCKNIX (353p-dmc branch, kernel 6.18.13) Instrument: FNIRSI FNB58 USB power meter (100 sps USB HID, 4 sps BLE)

1. Abstract

@jshmllr
jshmllr / design-exploration-swarm-paper.md
Last active November 2, 2026 19:59
Design Exploration Swarm Paper
name design-exploration-swarm-paper
description Orchestrate a multi-agent design exploration swarm that analyzes a codebase's UI, expands it into diverse design concepts, and renders structured exploration rounds into a Paper.design file using HTML-first artboards. Generates multiple UI directions (affordance, layout, interaction, copy) and refines top concepts for decision-making. Use when the user wants to explore how a product UI could evolve in Paper specifically — not just recreate it. Triggered by phrases like "explore design directions in Paper", "generate UI concepts in Paper", "design exploration swarm in Paper", "rethink this UI in Paper", or "show multiple design options in Paper". Prefer this over the Figma variant when the user names Paper, when there is no existing component library to lean on, or when a lightweight HTML-based exploration is preferable to Figma's Plugin API workflow.

Design Exploration Swarm — Paper

You are a design exploration swarm orchestrator targeting Pape

@fabianogoes
fabianogoes / envie-email-php.md
Created March 29, 2016 18:41
Envie emails via PHP e SMTP utilizando o GMail ou o Google Apps

Crie um formulário HTML. Abaixo um exemplo com alguns campos:

<form action="email.php" method="post">
	<label for="Nome">Nome:</label>
	<input type="text" name="Nome" size="35" />

	<label for="Email">E-mail:</label>
	<input type="text" name="Email" size="35" />

	<label for="Fone">Telefone:</label>
@antoinevastel
antoinevastel / temporary_gmail_accounts_canonical_may_2026.txt
Created May 13, 2026 09:36
Canonical emails temporary gmail accounts: Castle's Research Team
0u1rocerfoux@gmail.com
0u1rocerfoux@googlemail.com
aandresssantoss@gmail.com
aandresssantoss@googlemail.com
aantonio111213@gmail.com
aantonio111213@googlemail.com
abreiarosales@gmail.com
abreiarosales@googlemail.com
abyrivas81@gmail.com
abyrivas81@googlemail.com
@divinity76
divinity76 / LoginGmail.php
Last active November 2, 2026 19:57
login to gmail.com with curl, pretending to be a browser.
<?php
declare(strict_types = 1);
// header ( "content-type: text/plain;charset=utf8" );
// https://github.com/divinity76/hhb_.inc.php/blob/master/hhb_.inc.php
require_once ('hhb_.inc.php');
function loginGmail(string $username, string $password, string $recoveryEmailChallengeAnswer) : \hhb_curl
{
$hc = new hhb_curl('', true);
$hc->setopt_array(array(
@flamerix-ai
flamerix-ai / README.md
Last active November 2, 2026 19:56
Claude Code burns ~15-20% of your tokens on a 3-word status line: a Bun preload that turns agent_summary off · by Flamerix AI, flamerix.ai · MIT

Claude Code burns ~15–20% of your tokens on a 3-word status line. Here's how to turn it off

by Flamerix AI · MIT License

Tested on Linux, Claude Code 2.1.257–2.1.312; macOS reported working by others (see Tested versions). The binary is not modified (BUN_OPTIONS=--preload). An update can silently undo it, so see Verify.

TL;DR

Every ~30 seconds, Claude Code re-sends each background agent's full transcript to the model just to fill that agent's status line in the agents panel. no-agent-summary.js is a Bun --preload

@tuandinh0801
tuandinh0801 / indexing+search.md
Created April 20, 2025 06:04
[Research] Codebase indexing & Semantic search

Awesome, I’ll get started on this. I’ll focus on how to design and implement a tool for semantic code search using a JavaScript-based stack, but also consider multi-language support and include both self-hosted and cloud-based options with pros and cons. The overview will emphasize practitioner-oriented insights to help you build your own solution.

I’ll organize the findings across indexing techniques, semantic search approaches, state-of-the-art tools, a structured comparison of techniques and tools, and practical implementation guidance for building an MVP.

I’ll let you know once everything is ready!

Designing a Semantic Code Search and Indexing Tool (JavaScript Stack)

Building a custom code search tool (akin to Sourcegraph or GitHub’s code search/Copilot) requires combining robust code indexing techniques with advanced semantic search capabilities. The following sections provide a practitioner-oriented overview, focusing on a JavaScript-based stack (Node.js) with multi-language support. We co

@derek-schaefer
derek-schaefer / speedtest.sh
Created April 23, 2013 16:13
Test your download speed via the command line with wget.
wget --output-document=/dev/null http://speedtest.wdc01.softlayer.com/downloads/test500.zip

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@jauharymanshura9-max
jauharymanshura9-max / 9router_oc_free_tools.py
Last active November 2, 2026 19:51
Hermes middleware: alias tool names gated by OpenCode free tier (429 FreeUsageLimitError on 'terminal')
"""Keep OpenCode-free-tier-gated tool names off the wire on 9Router routes.
Upstream OpenCode answers ``429 FreeUsageLimitError`` for any *declared* function whose
name contains ``terminal`` (probe 2026-10-29 through 9Router: ``terminal``, ``Terminal``,
``terminals``, ``terminal_x``, ``my_terminal_thing`` -> 429; ``bash``, ``shell``,
``shell2``, ``foo`` -> 200; the same body without the declaration -> 200). Message
history is not inspected, only ``tools[]``.
``llm_request`` aliases the declaration; ``llm_execution`` renames the model's tool call
back so dispatch, stored history and approvals keep seeing Hermes' real name. Both are